import request from '@/router/axios';


/**
 * 标记维修
 */
export const flagRepiar = (data, param) => {
    return request({
        url: `/api/mes-product/mro/centerproduct/confirm?subCauseId=${param.subCauseId}&badRouteId=${param.badRouteId}&badFailureId=${param.badFailureId}`,
        method: 'post',
        data
    });
};

export const getProcessRoute = (params) => {
    return request({
        url: '/api/mes-product/process/product-route/workorder-routes',
        method: 'get',
        params: params
    });
}

